/*
* Unless required by applicable law or agreed to in writing, software 
* distributed under the License is distributed on an "AS IS" BASIS, 
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
* See the License for the specific language governing permissions and 
* limitations under the License. 
*/
#ifndef STRINGPARSER_H_
#define STRINGPARSER_H_

#include "Abstract.h"
#include "string.h"
class StringParser : public AbstractParser<const char*>
{
public:
	StringParser() {}
	virtual ~StringParser() {}
	bool Parse(char* str, int offset, const char** pval) 
	{
		*pval = (const char*)(str + offset);
		return true;
	}

	bool Parse(const char* str, int offset, const char** pval) 
	{
		*pval = (const char*)(str + offset);
		return true;
	}
};


#endif /*STRINGPARSER_H_*/
